import request from "@/utils/request";

// 修改密码
// export const modifyPassword = (data) => {
//     return request({
//         url: '/user/updatePassword',
//         method: 'POST',
//         data
//     });
// };

export const modifyPassword = (params) => request.patch("/user/updatePassword", params);